laravel order by desc

30

laravel order by raw -

$orders = DB::table('orders')
                ->orderByRaw('updated_at - created_at DESC')
                ->get();

Comments

Submit
0 Comments